package com.itheima.pinda.mapper;

import com.itheima.pinda.DTO.entity.Cities;
import com.itheima.pinda.DTO.entity.Provinces;

import java.util.List;

public interface CitiesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Cities record);

    int insertSelective(Cities record);

    Cities selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cities record);

    int updateByPrimaryKey(Cities record);

    List<Cities> all();
    List<Cities> findcitiesbyid(Provinces provinces);
}